# Creates defs.h for Windows
# Get location of libraries
echo "Defs.h generator for C++ REDLisp compile"
echo "Feb 2007 - Rudolf Olah"
echo "#define TARGET_OS_WINDOWS" > defs.h
set /p choice="Debug mode? [y/n] "
if [ "$choice" == "y" ]; then
echo "#define DEBUG" >> defs.h
else
echo "//#define DEBUG" >> defs.h
fi
set /p choice="Readline? [y/n] "
if [ "$choice" == "y" ]; then
echo "#define READLINE" >> defs.h
else
echo "//#define READLINE" >> defs.h
fi
set /p choice="Big-numbers? [y/n] "
if [ "$choice" == "y" ]; then
echo "#define BIGNUM" >> defs.h
else
echo "//#define BIGNUM" >> defs.h
fi
